package com.yc.mybatis.students.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 该表用于存储各类课程的相关信息，如课程名称、学分及详细描述等
 * </p>
 *
 * @author k
 * @since 2024-12-08
 */
@Getter
@Setter
@TableName("courses")
public class Courses implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    @TableField("course_name")
    private String courseName;

    @TableField("course_credit")
    private Integer courseCredit;

    @TableField("course_description")
    private String courseDescription;
}
